<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>transitions的用法</title>
</head>
<style>
#div{
	background:red;
	-webkit-transition:background 1s linear;
}
#div:hover{
	background:blue;
}
</style>
<body>
<div id="div">我是一个DIV</div>
</body>
</html>
